package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.File;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 操作指南对象 sys_instruction
 *
 * @author ruoyi
 * @date 2023-09-19
 */
@Data
public class SysInstruction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private String delFlag;

    /** 标题 */
    @Excel(name = "标题")
    private String title;


    /** 文件id */
    @Excel(name = "文件id")
    private Integer fileId;


    @Excel(name = "status")
    private String status;

    private List<File> fileList;

    private File file;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("title", getTitle())
                .append("status", getStatus())
                .append("fileId", getFileId())
                .toString();
    }
}
